package com.springboot.nacos.discovery.event;

import com.springboot.nacos.discovery.NacosDiscoveryProperties;
import org.springframework.context.ApplicationEvent;

public class NacosDiscoveryInfoChangedEvent extends ApplicationEvent {
    public NacosDiscoveryInfoChangedEvent(
            NacosDiscoveryProperties nacosDiscoveryProperties) {
        super(nacosDiscoveryProperties);
    }

    @Override
    public NacosDiscoveryProperties getSource() {
        return (NacosDiscoveryProperties) super.getSource();
    }

}
